//
//  AppDelegate.swift
//  SinaWeibo
//
//  Created by cesh on 16/5/19.
//  Copyright © 2016年 cesh. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        //1.创建窗口
        window = UIWindow(frame: UIScreen.mainScreen().bounds)
        //2.设置窗口根控制器
        window?.rootViewController = TabBarViewController()
        //3.设为主窗口且可见
        window?.makeKeyAndVisible()
        return true
    }
}

